package cn.tedu.hospitalgroupproject.server.content.pojo.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@TableName("t_doctor")
public class Doctor implements Serializable {
    /*
    * 医生ID*/
    @TableId(type = IdType.AUTO)
    private Long id;
    /*
    * 姓名*/
    private String name;
    private String password;
    private String imgUrl;
    private int isAdmin;
    private String gender;
    private  String age;
    private String phoneNumber;
    private String mailBox;
    /*
    * 医生职称*/
    private Long doctorTitleId;
    /*
    * 诊所*/
    private Long clinicId;
    /**
     * 数据创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime gmtCreate;
    /**
     * 数据最后修改时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime gmtModified;

}
